function async_set_stock_cache(){
    $.ajax({
        type: 'GET',
        url: "/api/csgostock?type=1",
        dataType: "json",
        contentType: 'application/json',
        async: true,
        success: function (result) {
            if (result.success == "false") {
                alert("添加失败!");
            } else if (result.exception == "true") {
                alert("服务器异常");
            } else if (result.success == "true") {
                window.sessionStorage.setItem("stocks", JSON.stringify(result.data));
            }
        }, error: function (result) {
            console.log(result);
        }
    });
}